<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="<?php echo $this->_baseUrl;?>/public/css/reset.css"/>
<link rel="stylesheet" type="text/css" href="<?php echo $this->_baseUrl;?>/public/css/main.css"/>
<link rel="stylesheet" type="text/css" href="<?php echo $this->_baseUrl;?>/public/css/layout1.css"/>
<script language="javascript" src="<?php echo $this->_baseUrl;?>/public/js/jquery-1.6.2.min.js"></script>
<script language="javascript" src="<?php echo $this->_baseUrl;?>/public/js/custom-form-elements.js"></script>
<title><?php echo $this->title;?></title>
<link rel="shortcut icon" href="<?php echo $this->_baseUrl;?>/public/images/web/favicon.ico" type="image/x-icon" />
</head>

<body>
  <div id="wrapper">
    <div id="header">
    	<img src="<?php echo $this->_baseUrl;?>/public/images/web1/header.jpg" usemap="#green" />
    	<map name="green">  
        	<area shape="rect" coords="20,5,250,100" href="http://hpcc.hut.edu.vn">
			<area shape="rect" coords="300,5,700,200" href="<?php echo $this->_baseUrl;?>">
        </map>

    
   <?php 
        if(isset($_SESSION['user_id']))
            {
             $this->loadWidget('top_menu_logged_in');
             echo '</div>';
             $this->loadWidget('menu_logged_in');   
            }
        else
        {
            $this->loadWidget('top_menu');
            echo '</div>';
            $this->loadWidget('menu');
        }
            
        ?>
     
     
    
   <script>
   $(document).ready(function(){ 
       $('#main-content').css('min-height',function(){
          var main_height = $(window).height() - 425;
        return main_height+'px';
       });   
   });
   </script>     
    <div id="main-content">
       <?php $this->loadContent();?>
     </div> 
    
    <div class="clear"></div>
    
         
    <div id="footer">
    
     <?php 
        if(isset($_SESSION['user_id']))
            $this->loadWidget('bottom_menu_logged_in');
        else
            $this->loadWidget('bottom_menu');
    ?>
    
    
      <div id="copyright">
        Copyright &copy; 2011 High Performance Computing Center. <br />
        Hanoi University of Science and Technology.
      </div>
	  <div id="footerline"></div>
    </div>
	
</div>
</body>
</html>